<template>
  <div class="app">
    <button @click="is_show">退出按钮</button>
    <BaseDialog :visible.sync="visible"></BaseDialog>
  </div>
</template>

<script>
import BaseDialog from "./components/BaseDialog.vue";
export default {
  data() {
    return {
      visible: false,
    };
  },
  methods: {
    is_show() {
      this.visible = true;
    },
  },
  components: {
    BaseDialog,
  },
};
</script>

<style></style>
